const getters = {
    // shelf部分开始
    hotSearchOffsetY: state => state.shelf.hotSearchOffsetY,
    flapcardVisible: state => state.shelf.flapcardVisible,
    isEditMode: state => state.shelf.isEditMode,
    shelfList: state => state.shelf.shelfList,
    shelfSelected: state => state.shelf.shelfSelected,
    shelfTitleVisible: state => state.shelf.shelfTitleVisible,
    shelfCategory: state => state.shelf.shelfCategory,
    currentType: state => state.shelf.currentType,
    userInfo: state => state.user.userInfo,
    // book
    fileName: state => state.book.fileName,
    menuVisible: state => state.book.menuVisible,
    settingVisible: state => state.book.settingVisible,
    defaultFontSize: state => state.book.defaultFontSize,
    defaultFontFamily: state => state.book.defaultFontFamily,
    fontFamilyVisible: state => state.book.fontFamilyVisible,
    defaultTheme: state => state.book.defaultTheme,
    bookAvailable: state => state.book.bookAvailable,
    progress: state => state.book.progress,
    section: state => state.book.section,
    isPaginating: state => state.book.isPaginating,
    currentBook: state => state.book.currentBook,
    navigation: state => state.book.navigation,
    cover: state => state.book.cover,
    metadata: state => state.book.metadata,
    paginate: state => state.book.paginate,
    pagelist: state => state.book.pagelist,
    offsetY: state => state.book.offsetY,
    isBookmark: state => state.book.isBookmark,
}
export default getters